package net.uhuijia.user.userwxauth.persistence.model;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import net.uhuijia.appbase.model.BaseExample;

public class UserWxauthExample extends BaseExample {
    /**
    
     *
     * @mbggenerated
     */
    protected String orderByClause;

    /**
    
     *
     * @mbggenerated
     */
    protected boolean distinct;

    /**
    
     *
     * @mbggenerated
     */
    protected List<Criteria> oredCriteria;

    /**
    
     *
     * @mbggenerated
     */
    public UserWxauthExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    /**
    
     *
     * @mbggenerated
     */
    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    /**
    
     *
     * @mbggenerated
     */
    public String getOrderByClause() {
        return orderByClause;
    }

    /**
    
     *
     * @mbggenerated
     */
    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    /**
    
     *
     * @mbggenerated
     */
    public boolean isDistinct() {
        return distinct;
    }

    /**
    
     *
     * @mbggenerated
     */
    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    /**
    
     *
     * @mbggenerated
     */
    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    /**
    
     *
     * @mbggenerated
     */
    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    /**
    
     *
     * @mbggenerated
     */
    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    /**
    
     *
     * @mbggenerated
     */
    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    /**
    
     *
     * @mbggenerated
     */
    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    /**
     * This class corresponds to the database table t_user_wxauth
     *
     * @mbggenerated
     */
    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("ID is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("ID is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(String value) {
            addCriterion("ID =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(String value) {
            addCriterion("ID <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(String value) {
            addCriterion("ID >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(String value) {
            addCriterion("ID >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(String value) {
            addCriterion("ID <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(String value) {
            addCriterion("ID <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLike(String value) {
            addCriterion("ID like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotLike(String value) {
            addCriterion("ID not like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<String> values) {
            addCriterion("ID in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<String> values) {
            addCriterion("ID not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(String value1, String value2) {
            addCriterion("ID between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(String value1, String value2) {
            addCriterion("ID not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIsEffectiveIsNull() {
            addCriterion("IS_EFFECTIVE is null");
            return (Criteria) this;
        }

        public Criteria andIsEffectiveIsNotNull() {
            addCriterion("IS_EFFECTIVE is not null");
            return (Criteria) this;
        }

        public Criteria andIsEffectiveEqualTo(String value) {
            addCriterion("IS_EFFECTIVE =", value, "isEffective");
            return (Criteria) this;
        }

        public Criteria andIsEffectiveNotEqualTo(String value) {
            addCriterion("IS_EFFECTIVE <>", value, "isEffective");
            return (Criteria) this;
        }

        public Criteria andIsEffectiveGreaterThan(String value) {
            addCriterion("IS_EFFECTIVE >", value, "isEffective");
            return (Criteria) this;
        }

        public Criteria andIsEffectiveGreaterThanOrEqualTo(String value) {
            addCriterion("IS_EFFECTIVE >=", value, "isEffective");
            return (Criteria) this;
        }

        public Criteria andIsEffectiveLessThan(String value) {
            addCriterion("IS_EFFECTIVE <", value, "isEffective");
            return (Criteria) this;
        }

        public Criteria andIsEffectiveLessThanOrEqualTo(String value) {
            addCriterion("IS_EFFECTIVE <=", value, "isEffective");
            return (Criteria) this;
        }

        public Criteria andIsEffectiveLike(String value) {
            addCriterion("IS_EFFECTIVE like", value, "isEffective");
            return (Criteria) this;
        }

        public Criteria andIsEffectiveNotLike(String value) {
            addCriterion("IS_EFFECTIVE not like", value, "isEffective");
            return (Criteria) this;
        }

        public Criteria andIsEffectiveIn(List<String> values) {
            addCriterion("IS_EFFECTIVE in", values, "isEffective");
            return (Criteria) this;
        }

        public Criteria andIsEffectiveNotIn(List<String> values) {
            addCriterion("IS_EFFECTIVE not in", values, "isEffective");
            return (Criteria) this;
        }

        public Criteria andIsEffectiveBetween(String value1, String value2) {
            addCriterion("IS_EFFECTIVE between", value1, value2, "isEffective");
            return (Criteria) this;
        }

        public Criteria andIsEffectiveNotBetween(String value1, String value2) {
            addCriterion("IS_EFFECTIVE not between", value1, value2, "isEffective");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("CREATE_TIME is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("CREATE_TIME is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("CREATE_TIME =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("CREATE_TIME <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("CREATE_TIME >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("CREATE_TIME >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("CREATE_TIME <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("CREATE_TIME <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("CREATE_TIME in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("CREATE_TIME not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("CREATE_TIME between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("CREATE_TIME not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNull() {
            addCriterion("UPDATE_TIME is null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNotNull() {
            addCriterion("UPDATE_TIME is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualTo(Date value) {
            addCriterion("UPDATE_TIME =", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualTo(Date value) {
            addCriterion("UPDATE_TIME <>", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThan(Date value) {
            addCriterion("UPDATE_TIME >", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("UPDATE_TIME >=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThan(Date value) {
            addCriterion("UPDATE_TIME <", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
            addCriterion("UPDATE_TIME <=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIn(List<Date> values) {
            addCriterion("UPDATE_TIME in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotIn(List<Date> values) {
            addCriterion("UPDATE_TIME not in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeBetween(Date value1, Date value2) {
            addCriterion("UPDATE_TIME between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
            addCriterion("UPDATE_TIME not between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andOrgCodeIsNull() {
            addCriterion("ORG_CODE is null");
            return (Criteria) this;
        }

        public Criteria andOrgCodeIsNotNull() {
            addCriterion("ORG_CODE is not null");
            return (Criteria) this;
        }

        public Criteria andOrgCodeEqualTo(String value) {
            addCriterion("ORG_CODE =", value, "orgCode");
            return (Criteria) this;
        }

        public Criteria andOrgCodeNotEqualTo(String value) {
            addCriterion("ORG_CODE <>", value, "orgCode");
            return (Criteria) this;
        }

        public Criteria andOrgCodeGreaterThan(String value) {
            addCriterion("ORG_CODE >", value, "orgCode");
            return (Criteria) this;
        }

        public Criteria andOrgCodeGreaterThanOrEqualTo(String value) {
            addCriterion("ORG_CODE >=", value, "orgCode");
            return (Criteria) this;
        }

        public Criteria andOrgCodeLessThan(String value) {
            addCriterion("ORG_CODE <", value, "orgCode");
            return (Criteria) this;
        }

        public Criteria andOrgCodeLessThanOrEqualTo(String value) {
            addCriterion("ORG_CODE <=", value, "orgCode");
            return (Criteria) this;
        }

        public Criteria andOrgCodeLike(String value) {
            addCriterion("ORG_CODE like", value, "orgCode");
            return (Criteria) this;
        }

        public Criteria andOrgCodeNotLike(String value) {
            addCriterion("ORG_CODE not like", value, "orgCode");
            return (Criteria) this;
        }

        public Criteria andOrgCodeIn(List<String> values) {
            addCriterion("ORG_CODE in", values, "orgCode");
            return (Criteria) this;
        }

        public Criteria andOrgCodeNotIn(List<String> values) {
            addCriterion("ORG_CODE not in", values, "orgCode");
            return (Criteria) this;
        }

        public Criteria andOrgCodeBetween(String value1, String value2) {
            addCriterion("ORG_CODE between", value1, value2, "orgCode");
            return (Criteria) this;
        }

        public Criteria andOrgCodeNotBetween(String value1, String value2) {
            addCriterion("ORG_CODE not between", value1, value2, "orgCode");
            return (Criteria) this;
        }

        public Criteria andCreateUserIsNull() {
            addCriterion("CREATE_USER is null");
            return (Criteria) this;
        }

        public Criteria andCreateUserIsNotNull() {
            addCriterion("CREATE_USER is not null");
            return (Criteria) this;
        }

        public Criteria andCreateUserEqualTo(String value) {
            addCriterion("CREATE_USER =", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserNotEqualTo(String value) {
            addCriterion("CREATE_USER <>", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserGreaterThan(String value) {
            addCriterion("CREATE_USER >", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserGreaterThanOrEqualTo(String value) {
            addCriterion("CREATE_USER >=", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserLessThan(String value) {
            addCriterion("CREATE_USER <", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserLessThanOrEqualTo(String value) {
            addCriterion("CREATE_USER <=", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserLike(String value) {
            addCriterion("CREATE_USER like", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserNotLike(String value) {
            addCriterion("CREATE_USER not like", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserIn(List<String> values) {
            addCriterion("CREATE_USER in", values, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserNotIn(List<String> values) {
            addCriterion("CREATE_USER not in", values, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserBetween(String value1, String value2) {
            addCriterion("CREATE_USER between", value1, value2, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserNotBetween(String value1, String value2) {
            addCriterion("CREATE_USER not between", value1, value2, "createUser");
            return (Criteria) this;
        }

        public Criteria andReorderIsNull() {
            addCriterion("REORDER is null");
            return (Criteria) this;
        }

        public Criteria andReorderIsNotNull() {
            addCriterion("REORDER is not null");
            return (Criteria) this;
        }

        public Criteria andReorderEqualTo(Integer value) {
            addCriterion("REORDER =", value, "reorder");
            return (Criteria) this;
        }

        public Criteria andReorderNotEqualTo(Integer value) {
            addCriterion("REORDER <>", value, "reorder");
            return (Criteria) this;
        }

        public Criteria andReorderGreaterThan(Integer value) {
            addCriterion("REORDER >", value, "reorder");
            return (Criteria) this;
        }

        public Criteria andReorderGreaterThanOrEqualTo(Integer value) {
            addCriterion("REORDER >=", value, "reorder");
            return (Criteria) this;
        }

        public Criteria andReorderLessThan(Integer value) {
            addCriterion("REORDER <", value, "reorder");
            return (Criteria) this;
        }

        public Criteria andReorderLessThanOrEqualTo(Integer value) {
            addCriterion("REORDER <=", value, "reorder");
            return (Criteria) this;
        }

        public Criteria andReorderIn(List<Integer> values) {
            addCriterion("REORDER in", values, "reorder");
            return (Criteria) this;
        }

        public Criteria andReorderNotIn(List<Integer> values) {
            addCriterion("REORDER not in", values, "reorder");
            return (Criteria) this;
        }

        public Criteria andReorderBetween(Integer value1, Integer value2) {
            addCriterion("REORDER between", value1, value2, "reorder");
            return (Criteria) this;
        }

        public Criteria andReorderNotBetween(Integer value1, Integer value2) {
            addCriterion("REORDER not between", value1, value2, "reorder");
            return (Criteria) this;
        }

        public Criteria andNoteIsNull() {
            addCriterion("NOTE is null");
            return (Criteria) this;
        }

        public Criteria andNoteIsNotNull() {
            addCriterion("NOTE is not null");
            return (Criteria) this;
        }

        public Criteria andNoteEqualTo(String value) {
            addCriterion("NOTE =", value, "note");
            return (Criteria) this;
        }

        public Criteria andNoteNotEqualTo(String value) {
            addCriterion("NOTE <>", value, "note");
            return (Criteria) this;
        }

        public Criteria andNoteGreaterThan(String value) {
            addCriterion("NOTE >", value, "note");
            return (Criteria) this;
        }

        public Criteria andNoteGreaterThanOrEqualTo(String value) {
            addCriterion("NOTE >=", value, "note");
            return (Criteria) this;
        }

        public Criteria andNoteLessThan(String value) {
            addCriterion("NOTE <", value, "note");
            return (Criteria) this;
        }

        public Criteria andNoteLessThanOrEqualTo(String value) {
            addCriterion("NOTE <=", value, "note");
            return (Criteria) this;
        }

        public Criteria andNoteLike(String value) {
            addCriterion("NOTE like", value, "note");
            return (Criteria) this;
        }

        public Criteria andNoteNotLike(String value) {
            addCriterion("NOTE not like", value, "note");
            return (Criteria) this;
        }

        public Criteria andNoteIn(List<String> values) {
            addCriterion("NOTE in", values, "note");
            return (Criteria) this;
        }

        public Criteria andNoteNotIn(List<String> values) {
            addCriterion("NOTE not in", values, "note");
            return (Criteria) this;
        }

        public Criteria andNoteBetween(String value1, String value2) {
            addCriterion("NOTE between", value1, value2, "note");
            return (Criteria) this;
        }

        public Criteria andNoteNotBetween(String value1, String value2) {
            addCriterion("NOTE not between", value1, value2, "note");
            return (Criteria) this;
        }

        public Criteria andUserIdIsNull() {
            addCriterion("USER_ID is null");
            return (Criteria) this;
        }

        public Criteria andUserIdIsNotNull() {
            addCriterion("USER_ID is not null");
            return (Criteria) this;
        }

        public Criteria andUserIdEqualTo(String value) {
            addCriterion("USER_ID =", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotEqualTo(String value) {
            addCriterion("USER_ID <>", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdGreaterThan(String value) {
            addCriterion("USER_ID >", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdGreaterThanOrEqualTo(String value) {
            addCriterion("USER_ID >=", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdLessThan(String value) {
            addCriterion("USER_ID <", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdLessThanOrEqualTo(String value) {
            addCriterion("USER_ID <=", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdLike(String value) {
            addCriterion("USER_ID like", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotLike(String value) {
            addCriterion("USER_ID not like", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdIn(List<String> values) {
            addCriterion("USER_ID in", values, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotIn(List<String> values) {
            addCriterion("USER_ID not in", values, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdBetween(String value1, String value2) {
            addCriterion("USER_ID between", value1, value2, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotBetween(String value1, String value2) {
            addCriterion("USER_ID not between", value1, value2, "userId");
            return (Criteria) this;
        }

        public Criteria andNickNameIsNull() {
            addCriterion("NICK_NAME is null");
            return (Criteria) this;
        }

        public Criteria andNickNameIsNotNull() {
            addCriterion("NICK_NAME is not null");
            return (Criteria) this;
        }

        public Criteria andNickNameEqualTo(String value) {
            addCriterion("NICK_NAME =", value, "nickName");
            return (Criteria) this;
        }

        public Criteria andNickNameNotEqualTo(String value) {
            addCriterion("NICK_NAME <>", value, "nickName");
            return (Criteria) this;
        }

        public Criteria andNickNameGreaterThan(String value) {
            addCriterion("NICK_NAME >", value, "nickName");
            return (Criteria) this;
        }

        public Criteria andNickNameGreaterThanOrEqualTo(String value) {
            addCriterion("NICK_NAME >=", value, "nickName");
            return (Criteria) this;
        }

        public Criteria andNickNameLessThan(String value) {
            addCriterion("NICK_NAME <", value, "nickName");
            return (Criteria) this;
        }

        public Criteria andNickNameLessThanOrEqualTo(String value) {
            addCriterion("NICK_NAME <=", value, "nickName");
            return (Criteria) this;
        }

        public Criteria andNickNameLike(String value) {
            addCriterion("NICK_NAME like", value, "nickName");
            return (Criteria) this;
        }

        public Criteria andNickNameNotLike(String value) {
            addCriterion("NICK_NAME not like", value, "nickName");
            return (Criteria) this;
        }

        public Criteria andNickNameIn(List<String> values) {
            addCriterion("NICK_NAME in", values, "nickName");
            return (Criteria) this;
        }

        public Criteria andNickNameNotIn(List<String> values) {
            addCriterion("NICK_NAME not in", values, "nickName");
            return (Criteria) this;
        }

        public Criteria andNickNameBetween(String value1, String value2) {
            addCriterion("NICK_NAME between", value1, value2, "nickName");
            return (Criteria) this;
        }

        public Criteria andNickNameNotBetween(String value1, String value2) {
            addCriterion("NICK_NAME not between", value1, value2, "nickName");
            return (Criteria) this;
        }

        public Criteria andAuthUnionidIsNull() {
            addCriterion("AUTH_UNIONID is null");
            return (Criteria) this;
        }

        public Criteria andAuthUnionidIsNotNull() {
            addCriterion("AUTH_UNIONID is not null");
            return (Criteria) this;
        }

        public Criteria andAuthUnionidEqualTo(String value) {
            addCriterion("AUTH_UNIONID =", value, "authUnionid");
            return (Criteria) this;
        }

        public Criteria andAuthUnionidNotEqualTo(String value) {
            addCriterion("AUTH_UNIONID <>", value, "authUnionid");
            return (Criteria) this;
        }

        public Criteria andAuthUnionidGreaterThan(String value) {
            addCriterion("AUTH_UNIONID >", value, "authUnionid");
            return (Criteria) this;
        }

        public Criteria andAuthUnionidGreaterThanOrEqualTo(String value) {
            addCriterion("AUTH_UNIONID >=", value, "authUnionid");
            return (Criteria) this;
        }

        public Criteria andAuthUnionidLessThan(String value) {
            addCriterion("AUTH_UNIONID <", value, "authUnionid");
            return (Criteria) this;
        }

        public Criteria andAuthUnionidLessThanOrEqualTo(String value) {
            addCriterion("AUTH_UNIONID <=", value, "authUnionid");
            return (Criteria) this;
        }

        public Criteria andAuthUnionidLike(String value) {
            addCriterion("AUTH_UNIONID like", value, "authUnionid");
            return (Criteria) this;
        }

        public Criteria andAuthUnionidNotLike(String value) {
            addCriterion("AUTH_UNIONID not like", value, "authUnionid");
            return (Criteria) this;
        }

        public Criteria andAuthUnionidIn(List<String> values) {
            addCriterion("AUTH_UNIONID in", values, "authUnionid");
            return (Criteria) this;
        }

        public Criteria andAuthUnionidNotIn(List<String> values) {
            addCriterion("AUTH_UNIONID not in", values, "authUnionid");
            return (Criteria) this;
        }

        public Criteria andAuthUnionidBetween(String value1, String value2) {
            addCriterion("AUTH_UNIONID between", value1, value2, "authUnionid");
            return (Criteria) this;
        }

        public Criteria andAuthUnionidNotBetween(String value1, String value2) {
            addCriterion("AUTH_UNIONID not between", value1, value2, "authUnionid");
            return (Criteria) this;
        }

        public Criteria andAuthAppidIsNull() {
            addCriterion("AUTH_APPID is null");
            return (Criteria) this;
        }

        public Criteria andAuthAppidIsNotNull() {
            addCriterion("AUTH_APPID is not null");
            return (Criteria) this;
        }

        public Criteria andAuthAppidEqualTo(String value) {
            addCriterion("AUTH_APPID =", value, "authAppid");
            return (Criteria) this;
        }

        public Criteria andAuthAppidNotEqualTo(String value) {
            addCriterion("AUTH_APPID <>", value, "authAppid");
            return (Criteria) this;
        }

        public Criteria andAuthAppidGreaterThan(String value) {
            addCriterion("AUTH_APPID >", value, "authAppid");
            return (Criteria) this;
        }

        public Criteria andAuthAppidGreaterThanOrEqualTo(String value) {
            addCriterion("AUTH_APPID >=", value, "authAppid");
            return (Criteria) this;
        }

        public Criteria andAuthAppidLessThan(String value) {
            addCriterion("AUTH_APPID <", value, "authAppid");
            return (Criteria) this;
        }

        public Criteria andAuthAppidLessThanOrEqualTo(String value) {
            addCriterion("AUTH_APPID <=", value, "authAppid");
            return (Criteria) this;
        }

        public Criteria andAuthAppidLike(String value) {
            addCriterion("AUTH_APPID like", value, "authAppid");
            return (Criteria) this;
        }

        public Criteria andAuthAppidNotLike(String value) {
            addCriterion("AUTH_APPID not like", value, "authAppid");
            return (Criteria) this;
        }

        public Criteria andAuthAppidIn(List<String> values) {
            addCriterion("AUTH_APPID in", values, "authAppid");
            return (Criteria) this;
        }

        public Criteria andAuthAppidNotIn(List<String> values) {
            addCriterion("AUTH_APPID not in", values, "authAppid");
            return (Criteria) this;
        }

        public Criteria andAuthAppidBetween(String value1, String value2) {
            addCriterion("AUTH_APPID between", value1, value2, "authAppid");
            return (Criteria) this;
        }

        public Criteria andAuthAppidNotBetween(String value1, String value2) {
            addCriterion("AUTH_APPID not between", value1, value2, "authAppid");
            return (Criteria) this;
        }

        public Criteria andAuthOpenidIsNull() {
            addCriterion("AUTH_OPENID is null");
            return (Criteria) this;
        }

        public Criteria andAuthOpenidIsNotNull() {
            addCriterion("AUTH_OPENID is not null");
            return (Criteria) this;
        }

        public Criteria andAuthOpenidEqualTo(String value) {
            addCriterion("AUTH_OPENID =", value, "authOpenid");
            return (Criteria) this;
        }

        public Criteria andAuthOpenidNotEqualTo(String value) {
            addCriterion("AUTH_OPENID <>", value, "authOpenid");
            return (Criteria) this;
        }

        public Criteria andAuthOpenidGreaterThan(String value) {
            addCriterion("AUTH_OPENID >", value, "authOpenid");
            return (Criteria) this;
        }

        public Criteria andAuthOpenidGreaterThanOrEqualTo(String value) {
            addCriterion("AUTH_OPENID >=", value, "authOpenid");
            return (Criteria) this;
        }

        public Criteria andAuthOpenidLessThan(String value) {
            addCriterion("AUTH_OPENID <", value, "authOpenid");
            return (Criteria) this;
        }

        public Criteria andAuthOpenidLessThanOrEqualTo(String value) {
            addCriterion("AUTH_OPENID <=", value, "authOpenid");
            return (Criteria) this;
        }

        public Criteria andAuthOpenidLike(String value) {
            addCriterion("AUTH_OPENID like", value, "authOpenid");
            return (Criteria) this;
        }

        public Criteria andAuthOpenidNotLike(String value) {
            addCriterion("AUTH_OPENID not like", value, "authOpenid");
            return (Criteria) this;
        }

        public Criteria andAuthOpenidIn(List<String> values) {
            addCriterion("AUTH_OPENID in", values, "authOpenid");
            return (Criteria) this;
        }

        public Criteria andAuthOpenidNotIn(List<String> values) {
            addCriterion("AUTH_OPENID not in", values, "authOpenid");
            return (Criteria) this;
        }

        public Criteria andAuthOpenidBetween(String value1, String value2) {
            addCriterion("AUTH_OPENID between", value1, value2, "authOpenid");
            return (Criteria) this;
        }

        public Criteria andAuthOpenidNotBetween(String value1, String value2) {
            addCriterion("AUTH_OPENID not between", value1, value2, "authOpenid");
            return (Criteria) this;
        }

        public Criteria andAuthNickNameIsNull() {
            addCriterion("AUTH_NICK_NAME is null");
            return (Criteria) this;
        }

        public Criteria andAuthNickNameIsNotNull() {
            addCriterion("AUTH_NICK_NAME is not null");
            return (Criteria) this;
        }

        public Criteria andAuthNickNameEqualTo(String value) {
            addCriterion("AUTH_NICK_NAME =", value, "authNickName");
            return (Criteria) this;
        }

        public Criteria andAuthNickNameNotEqualTo(String value) {
            addCriterion("AUTH_NICK_NAME <>", value, "authNickName");
            return (Criteria) this;
        }

        public Criteria andAuthNickNameGreaterThan(String value) {
            addCriterion("AUTH_NICK_NAME >", value, "authNickName");
            return (Criteria) this;
        }

        public Criteria andAuthNickNameGreaterThanOrEqualTo(String value) {
            addCriterion("AUTH_NICK_NAME >=", value, "authNickName");
            return (Criteria) this;
        }

        public Criteria andAuthNickNameLessThan(String value) {
            addCriterion("AUTH_NICK_NAME <", value, "authNickName");
            return (Criteria) this;
        }

        public Criteria andAuthNickNameLessThanOrEqualTo(String value) {
            addCriterion("AUTH_NICK_NAME <=", value, "authNickName");
            return (Criteria) this;
        }

        public Criteria andAuthNickNameLike(String value) {
            addCriterion("AUTH_NICK_NAME like", value, "authNickName");
            return (Criteria) this;
        }

        public Criteria andAuthNickNameNotLike(String value) {
            addCriterion("AUTH_NICK_NAME not like", value, "authNickName");
            return (Criteria) this;
        }

        public Criteria andAuthNickNameIn(List<String> values) {
            addCriterion("AUTH_NICK_NAME in", values, "authNickName");
            return (Criteria) this;
        }

        public Criteria andAuthNickNameNotIn(List<String> values) {
            addCriterion("AUTH_NICK_NAME not in", values, "authNickName");
            return (Criteria) this;
        }

        public Criteria andAuthNickNameBetween(String value1, String value2) {
            addCriterion("AUTH_NICK_NAME between", value1, value2, "authNickName");
            return (Criteria) this;
        }

        public Criteria andAuthNickNameNotBetween(String value1, String value2) {
            addCriterion("AUTH_NICK_NAME not between", value1, value2, "authNickName");
            return (Criteria) this;
        }

        public Criteria andAuthHeadImageIsNull() {
            addCriterion("AUTH_HEAD_IMAGE is null");
            return (Criteria) this;
        }

        public Criteria andAuthHeadImageIsNotNull() {
            addCriterion("AUTH_HEAD_IMAGE is not null");
            return (Criteria) this;
        }

        public Criteria andAuthHeadImageEqualTo(String value) {
            addCriterion("AUTH_HEAD_IMAGE =", value, "authHeadImage");
            return (Criteria) this;
        }

        public Criteria andAuthHeadImageNotEqualTo(String value) {
            addCriterion("AUTH_HEAD_IMAGE <>", value, "authHeadImage");
            return (Criteria) this;
        }

        public Criteria andAuthHeadImageGreaterThan(String value) {
            addCriterion("AUTH_HEAD_IMAGE >", value, "authHeadImage");
            return (Criteria) this;
        }

        public Criteria andAuthHeadImageGreaterThanOrEqualTo(String value) {
            addCriterion("AUTH_HEAD_IMAGE >=", value, "authHeadImage");
            return (Criteria) this;
        }

        public Criteria andAuthHeadImageLessThan(String value) {
            addCriterion("AUTH_HEAD_IMAGE <", value, "authHeadImage");
            return (Criteria) this;
        }

        public Criteria andAuthHeadImageLessThanOrEqualTo(String value) {
            addCriterion("AUTH_HEAD_IMAGE <=", value, "authHeadImage");
            return (Criteria) this;
        }

        public Criteria andAuthHeadImageLike(String value) {
            addCriterion("AUTH_HEAD_IMAGE like", value, "authHeadImage");
            return (Criteria) this;
        }

        public Criteria andAuthHeadImageNotLike(String value) {
            addCriterion("AUTH_HEAD_IMAGE not like", value, "authHeadImage");
            return (Criteria) this;
        }

        public Criteria andAuthHeadImageIn(List<String> values) {
            addCriterion("AUTH_HEAD_IMAGE in", values, "authHeadImage");
            return (Criteria) this;
        }

        public Criteria andAuthHeadImageNotIn(List<String> values) {
            addCriterion("AUTH_HEAD_IMAGE not in", values, "authHeadImage");
            return (Criteria) this;
        }

        public Criteria andAuthHeadImageBetween(String value1, String value2) {
            addCriterion("AUTH_HEAD_IMAGE between", value1, value2, "authHeadImage");
            return (Criteria) this;
        }

        public Criteria andAuthHeadImageNotBetween(String value1, String value2) {
            addCriterion("AUTH_HEAD_IMAGE not between", value1, value2, "authHeadImage");
            return (Criteria) this;
        }

        public Criteria andAuthProviceIsNull() {
            addCriterion("AUTH_PROVICE is null");
            return (Criteria) this;
        }

        public Criteria andAuthProviceIsNotNull() {
            addCriterion("AUTH_PROVICE is not null");
            return (Criteria) this;
        }

        public Criteria andAuthProviceEqualTo(String value) {
            addCriterion("AUTH_PROVICE =", value, "authProvice");
            return (Criteria) this;
        }

        public Criteria andAuthProviceNotEqualTo(String value) {
            addCriterion("AUTH_PROVICE <>", value, "authProvice");
            return (Criteria) this;
        }

        public Criteria andAuthProviceGreaterThan(String value) {
            addCriterion("AUTH_PROVICE >", value, "authProvice");
            return (Criteria) this;
        }

        public Criteria andAuthProviceGreaterThanOrEqualTo(String value) {
            addCriterion("AUTH_PROVICE >=", value, "authProvice");
            return (Criteria) this;
        }

        public Criteria andAuthProviceLessThan(String value) {
            addCriterion("AUTH_PROVICE <", value, "authProvice");
            return (Criteria) this;
        }

        public Criteria andAuthProviceLessThanOrEqualTo(String value) {
            addCriterion("AUTH_PROVICE <=", value, "authProvice");
            return (Criteria) this;
        }

        public Criteria andAuthProviceLike(String value) {
            addCriterion("AUTH_PROVICE like", value, "authProvice");
            return (Criteria) this;
        }

        public Criteria andAuthProviceNotLike(String value) {
            addCriterion("AUTH_PROVICE not like", value, "authProvice");
            return (Criteria) this;
        }

        public Criteria andAuthProviceIn(List<String> values) {
            addCriterion("AUTH_PROVICE in", values, "authProvice");
            return (Criteria) this;
        }

        public Criteria andAuthProviceNotIn(List<String> values) {
            addCriterion("AUTH_PROVICE not in", values, "authProvice");
            return (Criteria) this;
        }

        public Criteria andAuthProviceBetween(String value1, String value2) {
            addCriterion("AUTH_PROVICE between", value1, value2, "authProvice");
            return (Criteria) this;
        }

        public Criteria andAuthProviceNotBetween(String value1, String value2) {
            addCriterion("AUTH_PROVICE not between", value1, value2, "authProvice");
            return (Criteria) this;
        }

        public Criteria andAuthSexIsNull() {
            addCriterion("AUTH_SEX is null");
            return (Criteria) this;
        }

        public Criteria andAuthSexIsNotNull() {
            addCriterion("AUTH_SEX is not null");
            return (Criteria) this;
        }

        public Criteria andAuthSexEqualTo(String value) {
            addCriterion("AUTH_SEX =", value, "authSex");
            return (Criteria) this;
        }

        public Criteria andAuthSexNotEqualTo(String value) {
            addCriterion("AUTH_SEX <>", value, "authSex");
            return (Criteria) this;
        }

        public Criteria andAuthSexGreaterThan(String value) {
            addCriterion("AUTH_SEX >", value, "authSex");
            return (Criteria) this;
        }

        public Criteria andAuthSexGreaterThanOrEqualTo(String value) {
            addCriterion("AUTH_SEX >=", value, "authSex");
            return (Criteria) this;
        }

        public Criteria andAuthSexLessThan(String value) {
            addCriterion("AUTH_SEX <", value, "authSex");
            return (Criteria) this;
        }

        public Criteria andAuthSexLessThanOrEqualTo(String value) {
            addCriterion("AUTH_SEX <=", value, "authSex");
            return (Criteria) this;
        }

        public Criteria andAuthSexLike(String value) {
            addCriterion("AUTH_SEX like", value, "authSex");
            return (Criteria) this;
        }

        public Criteria andAuthSexNotLike(String value) {
            addCriterion("AUTH_SEX not like", value, "authSex");
            return (Criteria) this;
        }

        public Criteria andAuthSexIn(List<String> values) {
            addCriterion("AUTH_SEX in", values, "authSex");
            return (Criteria) this;
        }

        public Criteria andAuthSexNotIn(List<String> values) {
            addCriterion("AUTH_SEX not in", values, "authSex");
            return (Criteria) this;
        }

        public Criteria andAuthSexBetween(String value1, String value2) {
            addCriterion("AUTH_SEX between", value1, value2, "authSex");
            return (Criteria) this;
        }

        public Criteria andAuthSexNotBetween(String value1, String value2) {
            addCriterion("AUTH_SEX not between", value1, value2, "authSex");
            return (Criteria) this;
        }

        public Criteria andAuthCityIsNull() {
            addCriterion("AUTH_CITY is null");
            return (Criteria) this;
        }

        public Criteria andAuthCityIsNotNull() {
            addCriterion("AUTH_CITY is not null");
            return (Criteria) this;
        }

        public Criteria andAuthCityEqualTo(String value) {
            addCriterion("AUTH_CITY =", value, "authCity");
            return (Criteria) this;
        }

        public Criteria andAuthCityNotEqualTo(String value) {
            addCriterion("AUTH_CITY <>", value, "authCity");
            return (Criteria) this;
        }

        public Criteria andAuthCityGreaterThan(String value) {
            addCriterion("AUTH_CITY >", value, "authCity");
            return (Criteria) this;
        }

        public Criteria andAuthCityGreaterThanOrEqualTo(String value) {
            addCriterion("AUTH_CITY >=", value, "authCity");
            return (Criteria) this;
        }

        public Criteria andAuthCityLessThan(String value) {
            addCriterion("AUTH_CITY <", value, "authCity");
            return (Criteria) this;
        }

        public Criteria andAuthCityLessThanOrEqualTo(String value) {
            addCriterion("AUTH_CITY <=", value, "authCity");
            return (Criteria) this;
        }

        public Criteria andAuthCityLike(String value) {
            addCriterion("AUTH_CITY like", value, "authCity");
            return (Criteria) this;
        }

        public Criteria andAuthCityNotLike(String value) {
            addCriterion("AUTH_CITY not like", value, "authCity");
            return (Criteria) this;
        }

        public Criteria andAuthCityIn(List<String> values) {
            addCriterion("AUTH_CITY in", values, "authCity");
            return (Criteria) this;
        }

        public Criteria andAuthCityNotIn(List<String> values) {
            addCriterion("AUTH_CITY not in", values, "authCity");
            return (Criteria) this;
        }

        public Criteria andAuthCityBetween(String value1, String value2) {
            addCriterion("AUTH_CITY between", value1, value2, "authCity");
            return (Criteria) this;
        }

        public Criteria andAuthCityNotBetween(String value1, String value2) {
            addCriterion("AUTH_CITY not between", value1, value2, "authCity");
            return (Criteria) this;
        }

        public Criteria andAuthCountryIsNull() {
            addCriterion("AUTH_COUNTRY is null");
            return (Criteria) this;
        }

        public Criteria andAuthCountryIsNotNull() {
            addCriterion("AUTH_COUNTRY is not null");
            return (Criteria) this;
        }

        public Criteria andAuthCountryEqualTo(String value) {
            addCriterion("AUTH_COUNTRY =", value, "authCountry");
            return (Criteria) this;
        }

        public Criteria andAuthCountryNotEqualTo(String value) {
            addCriterion("AUTH_COUNTRY <>", value, "authCountry");
            return (Criteria) this;
        }

        public Criteria andAuthCountryGreaterThan(String value) {
            addCriterion("AUTH_COUNTRY >", value, "authCountry");
            return (Criteria) this;
        }

        public Criteria andAuthCountryGreaterThanOrEqualTo(String value) {
            addCriterion("AUTH_COUNTRY >=", value, "authCountry");
            return (Criteria) this;
        }

        public Criteria andAuthCountryLessThan(String value) {
            addCriterion("AUTH_COUNTRY <", value, "authCountry");
            return (Criteria) this;
        }

        public Criteria andAuthCountryLessThanOrEqualTo(String value) {
            addCriterion("AUTH_COUNTRY <=", value, "authCountry");
            return (Criteria) this;
        }

        public Criteria andAuthCountryLike(String value) {
            addCriterion("AUTH_COUNTRY like", value, "authCountry");
            return (Criteria) this;
        }

        public Criteria andAuthCountryNotLike(String value) {
            addCriterion("AUTH_COUNTRY not like", value, "authCountry");
            return (Criteria) this;
        }

        public Criteria andAuthCountryIn(List<String> values) {
            addCriterion("AUTH_COUNTRY in", values, "authCountry");
            return (Criteria) this;
        }

        public Criteria andAuthCountryNotIn(List<String> values) {
            addCriterion("AUTH_COUNTRY not in", values, "authCountry");
            return (Criteria) this;
        }

        public Criteria andAuthCountryBetween(String value1, String value2) {
            addCriterion("AUTH_COUNTRY between", value1, value2, "authCountry");
            return (Criteria) this;
        }

        public Criteria andAuthCountryNotBetween(String value1, String value2) {
            addCriterion("AUTH_COUNTRY not between", value1, value2, "authCountry");
            return (Criteria) this;
        }

        public Criteria andAuthPrivilegeIsNull() {
            addCriterion("AUTH_PRIVILEGE is null");
            return (Criteria) this;
        }

        public Criteria andAuthPrivilegeIsNotNull() {
            addCriterion("AUTH_PRIVILEGE is not null");
            return (Criteria) this;
        }

        public Criteria andAuthPrivilegeEqualTo(String value) {
            addCriterion("AUTH_PRIVILEGE =", value, "authPrivilege");
            return (Criteria) this;
        }

        public Criteria andAuthPrivilegeNotEqualTo(String value) {
            addCriterion("AUTH_PRIVILEGE <>", value, "authPrivilege");
            return (Criteria) this;
        }

        public Criteria andAuthPrivilegeGreaterThan(String value) {
            addCriterion("AUTH_PRIVILEGE >", value, "authPrivilege");
            return (Criteria) this;
        }

        public Criteria andAuthPrivilegeGreaterThanOrEqualTo(String value) {
            addCriterion("AUTH_PRIVILEGE >=", value, "authPrivilege");
            return (Criteria) this;
        }

        public Criteria andAuthPrivilegeLessThan(String value) {
            addCriterion("AUTH_PRIVILEGE <", value, "authPrivilege");
            return (Criteria) this;
        }

        public Criteria andAuthPrivilegeLessThanOrEqualTo(String value) {
            addCriterion("AUTH_PRIVILEGE <=", value, "authPrivilege");
            return (Criteria) this;
        }

        public Criteria andAuthPrivilegeLike(String value) {
            addCriterion("AUTH_PRIVILEGE like", value, "authPrivilege");
            return (Criteria) this;
        }

        public Criteria andAuthPrivilegeNotLike(String value) {
            addCriterion("AUTH_PRIVILEGE not like", value, "authPrivilege");
            return (Criteria) this;
        }

        public Criteria andAuthPrivilegeIn(List<String> values) {
            addCriterion("AUTH_PRIVILEGE in", values, "authPrivilege");
            return (Criteria) this;
        }

        public Criteria andAuthPrivilegeNotIn(List<String> values) {
            addCriterion("AUTH_PRIVILEGE not in", values, "authPrivilege");
            return (Criteria) this;
        }

        public Criteria andAuthPrivilegeBetween(String value1, String value2) {
            addCriterion("AUTH_PRIVILEGE between", value1, value2, "authPrivilege");
            return (Criteria) this;
        }

        public Criteria andAuthPrivilegeNotBetween(String value1, String value2) {
            addCriterion("AUTH_PRIVILEGE not between", value1, value2, "authPrivilege");
            return (Criteria) this;
        }
    }

    /**
     * This class corresponds to the database table t_user_wxauth
     *
     * @mbggenerated do_not_delete_during_merge
     */
    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    /**
     * This class corresponds to the database table t_user_wxauth
     *
     * @mbggenerated
     */
    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value) {
            super();
            this.condition = condition;
            this.value = value;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.betweenValue = true;
        }
    }
}